package com.my.test.design.decorate.testdecorate;

public abstract class Decorate implements PersonComponent {

    private PersonComponent personComponent;

    public Decorate(PersonComponent personComponent) {
        this.personComponent = personComponent;
    }

    @Override
    public void eat() {
        personComponent.eat();
    }
}
